<?php
/*========================================= JooSam =========================================/
/																							/
/	Extention:		JooSam																	/
/	Created by:		Broadcastweb.eu - Paules												/
/	Site:			http://www.broadcastweb.eu												/
/	Email:			support@broadcastweb.eu													/
/	Copyright:		2011 - 2012 (c) Broadcastweb.eu											/
/	License:		CC BY-NC-ND 3.0 ~ http://creativecommons.org/licenses/by-nc-nd/3.0/		/
/	File Version:	0003																	/
/																							/
/========================================== JooSam ========================================*/
// Joomla security
defined('_JEXEC') or die;
jimport('joomla.application.component.controlleradmin');

// Controller Samsongs view
class JooSamControllerSamsongs extends JControllerAdmin{
	protected $text_prefix = 'Samsongs';

	public function goback(){
		$this->setRedirect(JRoute::_('index.php?option=com_joosam&view=samadmin', false));
	}
	public function goedit(){
		$data = JRequest::getVar('cid');
		$songid = $data[0];
		$this->setRedirect(JRoute::_('index.php?option=com_joosam&view=samsong&sid='.$songid, false));
	}
}